package minuy.android.slowcarremotecontrol.tool;

public class Constant {
    final static public String LIFT = "L";//左
    final static public String RIGHT = "R";//右


    final static public String STA_RIGHT = "sr";    //右状态保存地址
    final static public String STA_LIFT = "sl";     //左状态保存地址
    final static public String SPEED_RIGHT = "spr"; //右速度保存地址
    final static public String SPEED_LIFT = "spl";  //左速度保存地址
    final static public String SW_LOCK = "swl";     //速度锁保存地址

    final static public int STA = 1;    //总状态更新
    final static public int STA_L = 2;  //左电机状态
    final static public int STA_R = 3;  //右电机状态
    final static public int SPEED_L = 4;//左电机速度
    final static public int SPEED_R = 5;//右电机速度

    final static public int STA_L_S = 12;  //左电机状态
    final static public int STA_R_S = 13;  //右电机状态
    final static public int SPEED_L_S = 14;//左电机速度
    final static public int SPEED_R_S = 15;//右电机速度

    final static public int EDIT = 6;   //编辑框更新

    final static public int STA_S_R = 7;//右电机状态
    final static public int STA_S_L = 8;//左电机状态

    final static public int LOCK_R = 9;//电机锁更新
    final static public int LOCK_L = 10;//电机锁更新
    final static public int LOCK_SAVE = 11;//电机锁存储更新


    final static public int BLUE_SEND = 105;//发送数据到串口

    public final static int BLUETOOTH_CONNECTED = 100;//已连接
    public final static int BLUETOOTH_CONNECTION_FAIL = 101;//连接失败
    public final static int BLUETOOTH_NEW_CONNECTION = 102;//新连接
    public final static int BLUETOOTH_DISCONNECTION = 103;//断开连接
    public final static int BLUETOOTH_RECEIVE_MSG = 104;//连接消息

}
